#ifndef _BOID_COLLISION_EVENT_H_
#define _BOID_COLLISION_EVENT_H_

#include "SphereCollisionEvent.h"
#include <list>

using namespace std;

/**
BoidCollisionEvent maintains collision of two boids.
If one is red and second one is yellow, thw yellow is eaten 
and the red gains energy
*/
class BoidCollisionEvent : public SphereSphereCollisionEvent
{
public:
	/**
	maintains collision of boids
	*/
	bool Collide(DynamicSphere *s1, DynamicSphere *s2);

	/**
	returns a pointer to the list with eaten boids
	*/
	list<DynamicSphere*>* EatenBoids(void);

private:
	list<DynamicSphere*> eatenBoids;
};

#endif